]> dgit.raspbian.org Git - gnome-shell.git/commit
st/theme-node-drawing: Don't skip square top left inset shadow corners
authorSebastian Keller <skeller@gnome.org>
Mon, 21 Oct 2024 19:53:14 +0000 (21:53 +0200)
committerSebastian Keller <skeller@gnome.org>
Mon, 21 Oct 2024 20:17:35 +0000 (22:17 +0200)
commit50434f0138743b997002ca02a783e27963bebdfc
tree8348a6d58b526a35b6d4bac70021fb1885d40516
parent86be4e31a66f3ad78306edcc18eae6256db9faa1
st/theme-node-drawing: Don't skip square top left inset shadow corners

When the inner radius of the top left corner is 0, the corresponding arc
does not get drawn, resulting in a path going from the bottom left
corner to the top right corner when the path is closed.

Fix this by always including a line_to from the bottom left to the top
left corner.

Fixes: dde13b30c ("st/theme-node-drawing: Trace the correct path for inset box shadows")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7996
src/st/st-theme-node-drawing.c